package org.xg.study.hin.po;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName Grade
 * @date 2021/9/26 14:14
 **/
@Data
public class Grade {
    private Integer id;
    private String name;
    //持有Student引用的集合，用来维护一对多关联关系
    private Set<Student> students =new HashSet<>();
}
